<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>04-JSX规则</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
	<script src="http://static.web.sdo.com/chuanshi/common/react.development.js"></script>
	<script src="http://static.web.sdo.com/chuanshi/common/react-dom.development.js"></script>
	<script src="http://static.web.sdo.com/chuanshi/common/babel.min.js"></script>
</head>
<body>
	<div id="app"></div>
</body>
</html>
<script type="text/babel">
	const App=(
		<div className="container">
			<h2 style={{padding:'20px'}} className="text-danger">APP</h2>
		</div>
	)
	console.log(App)
	console.log(document.getElementById("app"))
	ReactDOM.render(App,document.getElementById('app'))
</script>